package com.xuz.framework.beans.factory;

/**
 * IOC容器的父接口
 * @user 65453
 * @date 2024/10/24 21:17
 */
public interface BeanFactory {

    Object getBean(String name) throws Exception;

    // 泛型方法
    <T> T getBean(String name, Class<? extends T> clazz) throws Exception;
}
